package com.yang.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yang.demo.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<User> {

    default List<User> getAll() {
        return this.selectList(null);
    }
}
